package com.example.gitresp.mapper;

import com.example.gitresp.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpMapper {
    @Select("select * from emp")
    public List<Emp>  selectAll();

    @Select("select * from emp where  id = #{id}")
    public Emp  selectBYId(Integer id);

//    public  List<Emp> selectByStaticWord;
}

